import { UserTimeIcon } from 'tdesign-icons-vue-next';
import { shallowRef } from 'vue';
import Layout from '@/layouts/index.vue';  

export default [
  {
    path: '/yy',
    component: Layout,
    redirect: '/yy/reservation',
    name: 'yy',
    meta: {
      title: {
        zh_CN: "预约管理"
      },
      icon: shallowRef(UserTimeIcon),
      orderNo: 1
    },
    children: [
      {
            path: 'reservation',
            name: 'reservation',
            component: ()=> import('@/pages/rmanager/reservation/index.vue'),
            meta: {
              title: {
                zh_CN: '预约查询'
              }
            }
      },
       {
            path: 'visit',
            name: 'visit',
            component: ()=> import('@/pages/rmanager/visit/index.vue'),
            meta: {
              title: {
                zh_CN: '来访查询'
              }
            }
      }
    ]
  }]